import React, { Component, Fragment } from "react";

import { Tabs } from "antd";

// 合并页面
import Maintain from "./Maintain";
import MaintainSingle from "./MaintainSingle";


const { TabPane } = Tabs;

class Index extends Component {
    constructor(props){
        super(props);  
        this.setState = {} 
    }

    render(){
        return (
            <Fragment>
                <Tabs defaultActiveKey="1">
                    <TabPane tab="长期维护" key="1">
                        <Maintain />
                    </TabPane>
                    <TabPane tab="单次维护" key="2">
                        <MaintainSingle />
                    </TabPane>
                </Tabs>
            </Fragment>
        )
    }
}

export default Index;